package com.boboPlanet.user.entity.dto;

import com.fasterxml.jackson.annotation.JsonFormat;
import javax.validation.constraints.NotNull;

import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;
import java.util.List;

/**
 * @Description: TODO
 * @Author: mis_wu
 * @Date: 2023/2/27
 **/
@Data
public class UpdateUserInfoDTO {
    /**
     * 账户id
     */
    @NotNull(message = "账户id不能为空")
    @ApiModelProperty("账户id")
    @JsonSerialize(using = ToStringSerializer.class)
    private Long accountId;

    /**
     * 用户id
     */
    @NotNull(message = "用户id不能为空")
    @JsonSerialize(using = ToStringSerializer.class)
    private Long userId;

    /**
     * 账号
     */
    private String loginAccount;


    /**
     * 用户姓名
     */
    private String userName;

    /**
     * 性别
     */
    private String userSex;

    /**
     * 年龄
     */
    private String userAge;

    private Long userAgeHour;

    private String userAgeUnit;

    /**
     * 电话
     */
    private String userPhone;

    /**
     * 地址
     */
    private String userAddress;

    /**
     * 爱好，多个用 ,(英文逗号)分割
     */
    private List<String> hobbies;

    private String hobbyStr;

    /**
     * 用户描述
     */
    private String userDescribe;


}
